
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module simpleparse.stt.TextTools.TextTools</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="simpleparse.html"><font color="#ffffff">simpleparse</font></a>.<a href="simpleparse.stt.html"><font color="#ffffff">stt</font></a>.<a href="simpleparse.stt.TextTools.html"><font color="#ffffff">TextTools</font></a>.TextTools</strong></big></big> (version 2.1.0)</font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/mcfletch/pylive/simpleparse/stt/TextTools/TextTools.py">/home/mcfletch/pylive/simpleparse/stt/TextTools/TextTools.py</a></font></td></tr></table>
    <p><tt>mxTextTools&nbsp;-&nbsp;A&nbsp;tools&nbsp;package&nbsp;for&nbsp;fast&nbsp;text&nbsp;processing.<br>
&nbsp;<br>
Copyright&nbsp;(c)&nbsp;2000,&nbsp;Marc-Andre&nbsp;Lemburg;&nbsp;mailto:mal@lemburg.com<br>
Copyright&nbsp;(c)&nbsp;2000-2003,&nbsp;eGenix.com&nbsp;Software&nbsp;GmbH;&nbsp;mailto:info@egenix.com<br>
See&nbsp;the&nbsp;documentation&nbsp;for&nbsp;further&nbsp;information&nbsp;on&nbsp;copyrights,<br>
or&nbsp;contact&nbsp;the&nbsp;author.&nbsp;All&nbsp;Rights&nbsp;Reserved.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="simpleparse.stt.TextTools.mxTextTools.mxTextTools.html">simpleparse.stt.TextTools.mxTextTools.mxTextTools</a><br>
</td><td width="25%" valign=top><a href="string.html">string</a><br>
</td><td width="25%" valign=top><a href="time.html">time</a><br>
</td><td width="25%" valign=top><a href="types.html">types</a><br>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="simpleparse.stt.TextTools.TextTools.html#_timer">_timer</a>
</font></dt></dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="_timer">class <strong>_timer</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>timer&nbsp;class&nbsp;with&nbsp;a&nbsp;quite&nbsp;obvious&nbsp;interface<br>
-&nbsp;.<a href="#_timer-start">start</a>()&nbsp;starts&nbsp;a&nbsp;fairly&nbsp;accurate&nbsp;CPU-time&nbsp;timer&nbsp;plus&nbsp;an<br>
&nbsp;&nbsp;absolute&nbsp;timer<br>
-&nbsp;.<a href="#_timer-stop">stop</a>()&nbsp;stops&nbsp;the&nbsp;timer&nbsp;and&nbsp;returns&nbsp;a&nbsp;tuple:&nbsp;the&nbsp;CPU-time&nbsp;in&nbsp;seconds<br>
&nbsp;&nbsp;and&nbsp;the&nbsp;absolute&nbsp;time&nbsp;elapsed&nbsp;since&nbsp;.<a href="#_timer-start">start</a>()&nbsp;was&nbsp;called<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="_timer-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<dl><dt><a name="_timer-abstime"><strong>abstime</strong></a>(self, clock<font color="#909090">=&lt;built-in function clock&gt;</font>, time<font color="#909090">=&lt;built-in function time&gt;</font>)</dt></dl>

<dl><dt><a name="_timer-start"><strong>start</strong></a>(self, clock<font color="#909090">=&lt;built-in function clock&gt;</font>, time<font color="#909090">=&lt;built-in function time&gt;</font>)</dt></dl>

<dl><dt><a name="_timer-stop"><strong>stop</strong></a>(self, clock<font color="#909090">=&lt;built-in function clock&gt;</font>, time<font color="#909090">=&lt;built-in function time&gt;</font>)</dt></dl>

<dl><dt><a name="_timer-usertime"><strong>usertime</strong></a>(self, clock<font color="#909090">=&lt;built-in function clock&gt;</font>, time<font color="#909090">=&lt;built-in function time&gt;</font>)</dt></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>atime</strong> = 0</dl>

<dl><dt><strong>utime</strong> = 0</dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-BMS"><strong>BMS</strong></a> = TextSearch(...)</dt><dd><tt><a href="#-TextSearch">TextSearch</a>(match[,translate=None,algorithm=default_algorithm])<br>
&nbsp;<br>
Create&nbsp;a&nbsp;substring&nbsp;search&nbsp;object&nbsp;for&nbsp;the&nbsp;string&nbsp;match;<br>
translate&nbsp;is&nbsp;an&nbsp;optional&nbsp;translate-string&nbsp;like&nbsp;the&nbsp;one&nbsp;used<br>
in&nbsp;the&nbsp;module&nbsp;re.</tt></dd></dl>
 <dl><dt><a name="-CharSet"><strong>CharSet</strong></a>(...)</dt><dd><tt><a href="#-CharSet">CharSet</a>(definition)<br>
&nbsp;<br>
Create&nbsp;a&nbsp;character&nbsp;set&nbsp;matching&nbsp;object&nbsp;from&nbsp;the&nbsp;string</tt></dd></dl>
 <dl><dt><a name="-FS"><strong>FS</strong></a> = TextSearch(...)</dt><dd><tt><a href="#-TextSearch">TextSearch</a>(match[,translate=None,algorithm=default_algorithm])<br>
&nbsp;<br>
Create&nbsp;a&nbsp;substring&nbsp;search&nbsp;object&nbsp;for&nbsp;the&nbsp;string&nbsp;match;<br>
translate&nbsp;is&nbsp;an&nbsp;optional&nbsp;translate-string&nbsp;like&nbsp;the&nbsp;one&nbsp;used<br>
in&nbsp;the&nbsp;module&nbsp;re.</tt></dd></dl>
 <dl><dt><a name="-FSType"><strong>FSType</strong></a> = TextSearch(...)</dt><dd><tt><a href="#-TextSearch">TextSearch</a>(match[,translate=None,algorithm=default_algorithm])<br>
&nbsp;<br>
Create&nbsp;a&nbsp;substring&nbsp;search&nbsp;object&nbsp;for&nbsp;the&nbsp;string&nbsp;match;<br>
translate&nbsp;is&nbsp;an&nbsp;optional&nbsp;translate-string&nbsp;like&nbsp;the&nbsp;one&nbsp;used<br>
in&nbsp;the&nbsp;module&nbsp;re.</tt></dd></dl>
 <dl><dt><a name="-TagTable"><strong>TagTable</strong></a>(...)</dt><dd><tt><a href="#-TagTable">TagTable</a>(definition[,cachable=1])</tt></dd></dl>
 <dl><dt><a name="-TextSearch"><strong>TextSearch</strong></a>(...)</dt><dd><tt><a href="#-TextSearch">TextSearch</a>(match[,translate=None,algorithm=default_algorithm])<br>
&nbsp;<br>
Create&nbsp;a&nbsp;substring&nbsp;search&nbsp;object&nbsp;for&nbsp;the&nbsp;string&nbsp;match;<br>
translate&nbsp;is&nbsp;an&nbsp;optional&nbsp;translate-string&nbsp;like&nbsp;the&nbsp;one&nbsp;used<br>
in&nbsp;the&nbsp;module&nbsp;re.</tt></dd></dl>
 <dl><dt><a name="-UnicodeTagTable"><strong>UnicodeTagTable</strong></a>(...)</dt><dd><tt><a href="#-TagTable">TagTable</a>(definition[,cachable=1])</tt></dd></dl>
 <dl><dt><a name="-_bench"><strong>_bench</strong></a>(file<font color="#909090">='mxTextTools/mxTextTools.c'</font>)</dt></dl>
 <dl><dt><a name="-_lookup_dict"><strong>_lookup_dict</strong></a>(l, index<font color="#909090">=0</font>)</dt><dd><tt>#&nbsp;aid&nbsp;for&nbsp;matching&nbsp;from&nbsp;a&nbsp;list&nbsp;of&nbsp;words</tt></dd></dl>
 <dl><dt><a name="-_replace2"><strong>_replace2</strong></a>(text, what, with, start<font color="#909090">=0</font>, stop<font color="#909090">=None</font>, join<font color="#909090">=&lt;built-in function join&gt;</font>, joinlist<font color="#909090">=&lt;built-in function joinlist&gt;</font>, tag<font color="#909090">=&lt;built-in function tag&gt;</font>, TextSearchType<font color="#909090">=&lt;type 'TextSearch'&gt;</font>, TextSearch<font color="#909090">=&lt;built-in function TextSearch&gt;</font>)</dt><dd><tt>Analogon&nbsp;to&nbsp;string.replace;&nbsp;returns&nbsp;a&nbsp;string&nbsp;with&nbsp;all&nbsp;occurences<br>
of&nbsp;what&nbsp;in&nbsp;text[start:stop]&nbsp;replaced&nbsp;by&nbsp;with.<br>
&nbsp;<br>
This&nbsp;version&nbsp;uses&nbsp;a&nbsp;one&nbsp;entry&nbsp;tag-table&nbsp;and&nbsp;a<br>
Boyer-Moore-Search-object.&nbsp;&nbsp;what&nbsp;can&nbsp;be&nbsp;a&nbsp;string&nbsp;or&nbsp;a<br>
TextSearch&nbsp;search&nbsp;object.&nbsp;&nbsp;It's&nbsp;faster&nbsp;than&nbsp;string.replace&nbsp;in<br>
those&nbsp;cases,&nbsp;where&nbsp;the&nbsp;what-string&nbsp;gets&nbsp;long&nbsp;and/or&nbsp;many<br>
replacements&nbsp;are&nbsp;found;&nbsp;faster&nbsp;meaning&nbsp;from&nbsp;a&nbsp;few&nbsp;percent&nbsp;up&nbsp;to<br>
many&nbsp;times&nbsp;as&nbsp;fast<br>
&nbsp;<br>
start&nbsp;and&nbsp;stop&nbsp;define&nbsp;the&nbsp;slice&nbsp;of&nbsp;text&nbsp;to&nbsp;work&nbsp;in.&nbsp;&nbsp;stop<br>
defaults&nbsp;to&nbsp;len(text).</tt></dd></dl>
 <dl><dt><a name="-_replace3"><strong>_replace3</strong></a>(text, what, with, join<font color="#909090">=&lt;function join&gt;</font>, TextSearch<font color="#909090">=&lt;built-in function TextSearch&gt;</font>, TextSearchType<font color="#909090">=&lt;type 'TextSearch'&gt;</font>)</dt></dl>
 <dl><dt><a name="-_replace4"><strong>_replace4</strong></a>(text, what, with, join<font color="#909090">=&lt;built-in function join&gt;</font>, joinlist<font color="#909090">=&lt;built-in function joinlist&gt;</font>, tag<font color="#909090">=&lt;built-in function tag&gt;</font>, TextSearch<font color="#909090">=&lt;built-in function TextSearch&gt;</font>, TextSearchType<font color="#909090">=&lt;type 'TextSearch'&gt;</font>)</dt></dl>
 <dl><dt><a name="-_tagdict"><strong>_tagdict</strong></a>(text, dict, prefix, taglist)</dt><dd><tt>#&nbsp;helper&nbsp;for&nbsp;tagdict</tt></dd></dl>
 <dl><dt><a name="-charsplit"><strong>charsplit</strong></a>(...)</dt><dd><tt><a href="#-charsplit">charsplit</a>(text,char,start=0,stop=len(text))<br>
&nbsp;<br>
Split&nbsp;text[start:stop]&nbsp;into&nbsp;substrings&nbsp;at&nbsp;char&nbsp;and<br>
return&nbsp;the&nbsp;result&nbsp;as&nbsp;list&nbsp;of&nbsp;strings.</tt></dd></dl>
 <dl><dt><a name="-cmp"><strong>cmp</strong></a>(...)</dt><dd><tt><a href="#-cmp">cmp</a>(a,b)<br>
&nbsp;<br>
Compare&nbsp;two&nbsp;valid&nbsp;taglist&nbsp;tuples&nbsp;w/r&nbsp;to&nbsp;their&nbsp;slice<br>
position;&nbsp;this&nbsp;is&nbsp;useful&nbsp;for&nbsp;sorting&nbsp;joinlists.</tt></dd></dl>
 <dl><dt><a name="-collapse"><strong>collapse</strong></a>(text, separator<font color="#909090">=' '</font>, join<font color="#909090">=&lt;built-in function join&gt;</font>, charset<font color="#909090">=&lt;Character Set object for '\r\n \t\x0b\r\n\x0c'&gt;</font>)</dt><dd><tt>Eliminates&nbsp;newline&nbsp;characters&nbsp;and&nbsp;compresses&nbsp;whitespace<br>
characters&nbsp;into&nbsp;one&nbsp;space.<br>
&nbsp;<br>
The&nbsp;result&nbsp;is&nbsp;a&nbsp;one&nbsp;line&nbsp;text&nbsp;string.&nbsp;Tim&nbsp;Peters&nbsp;will&nbsp;like<br>
this&nbsp;function&nbsp;called&nbsp;with&nbsp;'-'&nbsp;separator&nbsp;;-)</tt></dd></dl>
 <dl><dt><a name="-countlines"><strong>countlines</strong></a>(text, linecount_table<font color="#909090">=((None, 13, '<font color="#c040c0">\r</font>', 1), (None, 13, '<font color="#c040c0">\n</font>', 1), ('line', 41, &lt;Character Set object for '^\r\n'&gt;, 1, -2), (None, 101, 1, 1, 1000000), ('empty line', 102, 0, 0, -4))</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;number&nbsp;of&nbsp;lines&nbsp;in&nbsp;text.<br>
&nbsp;<br>
Line&nbsp;ends&nbsp;are&nbsp;treated&nbsp;just&nbsp;like&nbsp;for&nbsp;<a href="#-splitlines">splitlines</a>()&nbsp;in&nbsp;a<br>
portable&nbsp;way.</tt></dd></dl>
 <dl><dt><a name="-find"><strong>find</strong></a>(text, what, start<font color="#909090">=0</font>, stop<font color="#909090">=None</font>, SearchObject<font color="#909090">=&lt;built-in function TextSearch&gt;</font>)</dt><dd><tt>A&nbsp;faster&nbsp;replacement&nbsp;for&nbsp;string.<a href="#-find">find</a>().<br>
&nbsp;<br>
Uses&nbsp;a&nbsp;search&nbsp;object&nbsp;for&nbsp;the&nbsp;task.&nbsp;Returns&nbsp;the&nbsp;position&nbsp;of&nbsp;the<br>
first&nbsp;occurance&nbsp;of&nbsp;what&nbsp;in&nbsp;text[start:stop].&nbsp;stop&nbsp;defaults&nbsp;to<br>
len(text).&nbsp;&nbsp;Returns&nbsp;-1&nbsp;in&nbsp;case&nbsp;no&nbsp;occurance&nbsp;was&nbsp;found.</tt></dd></dl>
 <dl><dt><a name="-findall"><strong>findall</strong></a>(text, what, start<font color="#909090">=0</font>, stop<font color="#909090">=None</font>, SearchObject<font color="#909090">=&lt;built-in function TextSearch&gt;</font>)</dt><dd><tt>Find&nbsp;all&nbsp;occurances&nbsp;of&nbsp;what&nbsp;in&nbsp;text.<br>
&nbsp;<br>
Uses&nbsp;a&nbsp;search&nbsp;object&nbsp;for&nbsp;the&nbsp;task.&nbsp;Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;slice<br>
tuples&nbsp;(l,r)&nbsp;marking&nbsp;the&nbsp;all&nbsp;occurances&nbsp;in<br>
text[start:stop].&nbsp;stop&nbsp;defaults&nbsp;to&nbsp;len(text).&nbsp;&nbsp;Returns&nbsp;an<br>
empty&nbsp;list&nbsp;in&nbsp;case&nbsp;no&nbsp;occurance&nbsp;was&nbsp;found.</tt></dd></dl>
 <dl><dt><a name="-format_entry"><strong>format_entry</strong></a>(table, i, TupleType<font color="#909090">=&lt;type 'tuple'&gt;</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;pp-formatted&nbsp;tag&nbsp;table&nbsp;entry&nbsp;as&nbsp;string</tt></dd></dl>
 <dl><dt><a name="-format_table"><strong>format_table</strong></a>(table, i<font color="#909090">=-1</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;pp-formatted&nbsp;version&nbsp;of&nbsp;the&nbsp;tag&nbsp;table&nbsp;as&nbsp;string</tt></dd></dl>
 <dl><dt><a name="-hex2str"><strong>hex2str</strong></a>(...)</dt><dd><tt><a href="#-hex2str">hex2str</a>(text)<br>
&nbsp;<br>
Return&nbsp;text&nbsp;interpreted&nbsp;as&nbsp;two&nbsp;byte&nbsp;HEX&nbsp;values&nbsp;converted<br>
to&nbsp;a&nbsp;string.</tt></dd></dl>
 <dl><dt><a name="-invset"><strong>invset</strong></a>(chars)</dt><dd><tt>Return&nbsp;a&nbsp;set&nbsp;with&nbsp;all&nbsp;characters&nbsp;*except*&nbsp;the&nbsp;ones&nbsp;in&nbsp;chars.</tt></dd></dl>
 <dl><dt><a name="-is_whitespace"><strong>is_whitespace</strong></a>(text, start<font color="#909090">=0</font>, stop<font color="#909090">=None</font>, charset<font color="#909090">=&lt;Character Set object for '^ \t\x0b\r\n\x0c'&gt;</font>)</dt><dd><tt>Return&nbsp;1&nbsp;iff&nbsp;text[start:stop]&nbsp;only&nbsp;contains&nbsp;whitespace<br>
characters&nbsp;(as&nbsp;defined&nbsp;in&nbsp;Constants/Sets.py),&nbsp;0&nbsp;otherwise.</tt></dd></dl>
 <dl><dt><a name="-isascii"><strong>isascii</strong></a>(...)</dt><dd><tt><a href="#-isascii">isascii</a>(text,start=0,stop=len(text))<br>
&nbsp;<br>
Return&nbsp;1/0&nbsp;depending&nbsp;on&nbsp;whether&nbsp;text&nbsp;only&nbsp;contains&nbsp;ASCII<br>
characters.</tt></dd></dl>
 <dl><dt><a name="-join"><strong>join</strong></a>(...)</dt><dd><tt><a href="#-join">join</a>(joinlist,sep='',start=0,stop=len(joinlist))<br>
&nbsp;<br>
Copy&nbsp;snippets&nbsp;from&nbsp;different&nbsp;strings&nbsp;together&nbsp;producing&nbsp;a<br>
new&nbsp;string<br>
The&nbsp;first&nbsp;argument&nbsp;must&nbsp;be&nbsp;a&nbsp;list&nbsp;of&nbsp;tuples&nbsp;or&nbsp;strings;<br>
tuples&nbsp;must&nbsp;be&nbsp;of&nbsp;the&nbsp;form&nbsp;(string,l,r[,...])&nbsp;and&nbsp;turn&nbsp;out<br>
as&nbsp;string[l:r]<br>
NOTE:&nbsp;the&nbsp;syntax&nbsp;used&nbsp;for&nbsp;negative&nbsp;slices&nbsp;is&nbsp;different<br>
than&nbsp;the&nbsp;Python&nbsp;standard:&nbsp;-1&nbsp;corresponds&nbsp;to&nbsp;the&nbsp;first<br>
character&nbsp;*after*&nbsp;the&nbsp;string,&nbsp;e.g.&nbsp;('Example',0,-1)&nbsp;gives<br>
'Example'&nbsp;and&nbsp;not&nbsp;'Exampl',&nbsp;like&nbsp;in&nbsp;Python<br>
sep&nbsp;is&nbsp;an&nbsp;optional&nbsp;separator&nbsp;string,&nbsp;start&nbsp;and&nbsp;stop<br>
define&nbsp;the&nbsp;slice&nbsp;of&nbsp;joinlist&nbsp;that&nbsp;is&nbsp;taken&nbsp;into&nbsp;accont.</tt></dd></dl>
 <dl><dt><a name="-joinlist"><strong>joinlist</strong></a>(...)</dt><dd><tt><a href="#-joinlist">joinlist</a>(text,list,start=0,stop=len(text))<br>
&nbsp;<br>
Takes&nbsp;a&nbsp;list&nbsp;of&nbsp;tuples&nbsp;(replacement,l,r,...)&nbsp;and&nbsp;produces<br>
a&nbsp;taglist&nbsp;suitable&nbsp;for&nbsp;<a href="#-join">join</a>()&nbsp;which&nbsp;creates&nbsp;a&nbsp;copy<br>
of&nbsp;text&nbsp;where&nbsp;every&nbsp;slice&nbsp;[l:r]&nbsp;is&nbsp;replaced&nbsp;by&nbsp;the<br>
given&nbsp;replacement<br>
-&nbsp;the&nbsp;list&nbsp;must&nbsp;be&nbsp;sorted&nbsp;using&nbsp;<a href="#-cmp">cmp</a>()&nbsp;as&nbsp;compare&nbsp;function<br>
-&nbsp;it&nbsp;may&nbsp;not&nbsp;contain&nbsp;overlapping&nbsp;slices<br>
-&nbsp;the&nbsp;slices&nbsp;may&nbsp;not&nbsp;contain&nbsp;negative&nbsp;indices<br>
-&nbsp;if&nbsp;the&nbsp;taglist&nbsp;cannot&nbsp;contain&nbsp;overlapping&nbsp;slices,&nbsp;you&nbsp;can<br>
&nbsp;&nbsp;give&nbsp;this&nbsp;function&nbsp;the&nbsp;taglist&nbsp;produced&nbsp;by&nbsp;<a href="#-tag">tag</a>()&nbsp;directly<br>
&nbsp;&nbsp;(sorting&nbsp;is&nbsp;not&nbsp;needed,&nbsp;as&nbsp;the&nbsp;list&nbsp;will&nbsp;already&nbsp;be&nbsp;sorted)<br>
-&nbsp;start&nbsp;and&nbsp;stop&nbsp;set&nbsp;the&nbsp;slice&nbsp;to&nbsp;work&nbsp;in,&nbsp;i.e.&nbsp;text[start:stop]</tt></dd></dl>
 <dl><dt><a name="-linesplit"><strong>linesplit</strong></a> = splitlines(text, tag<font color="#909090">=&lt;built-in function tag&gt;</font>, linesplit_table<font color="#909090">=((None, 13, '<font color="#c040c0">\r</font>', 1), (None, 13, '<font color="#c040c0">\n</font>', 1), ('line', 2089, &lt;Character Set object for '^\r\n'&gt;, 1, -2), (None, 101, 1, 1, 1000000), ('empty line', 2150, 0, 0, -4))</font>)</dt><dd><tt>Split&nbsp;text&nbsp;into&nbsp;a&nbsp;list&nbsp;of&nbsp;single&nbsp;lines.<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;following&nbsp;combinations&nbsp;are&nbsp;considered&nbsp;to&nbsp;be&nbsp;line-ends:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'',&nbsp;'<br>
',&nbsp;'<br>
';&nbsp;they&nbsp;may&nbsp;be&nbsp;used&nbsp;in&nbsp;any&nbsp;combination.&nbsp;&nbsp;The<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;line-end&nbsp;indicators&nbsp;are&nbsp;removed&nbsp;from&nbsp;the&nbsp;strings&nbsp;prior&nbsp;to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adding&nbsp;them&nbsp;to&nbsp;the&nbsp;list.<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This&nbsp;function&nbsp;allows&nbsp;dealing&nbsp;with&nbsp;text&nbsp;files&nbsp;from&nbsp;Macs,&nbsp;PCs<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and&nbsp;Unix&nbsp;origins&nbsp;in&nbsp;a&nbsp;portable&nbsp;way.</tt></dd></dl>
 <dl><dt><a name="-lower"><strong>lower</strong></a>(...)</dt><dd><tt><a href="#-lower">lower</a>(text)<br>
&nbsp;<br>
Return&nbsp;text&nbsp;converted&nbsp;to&nbsp;lower&nbsp;case.</tt></dd></dl>
 <dl><dt><a name="-multireplace"><strong>multireplace</strong></a>(text, replacements, start<font color="#909090">=0</font>, stop<font color="#909090">=None</font>, join<font color="#909090">=&lt;built-in function join&gt;</font>, joinlist<font color="#909090">=&lt;built-in function joinlist&gt;</font>)</dt><dd><tt>Apply&nbsp;multiple&nbsp;replacement&nbsp;to&nbsp;a&nbsp;text&nbsp;at&nbsp;once.<br>
&nbsp;<br>
replacements&nbsp;must&nbsp;be&nbsp;list&nbsp;of&nbsp;tuples&nbsp;(replacement,&nbsp;left,<br>
right).&nbsp;&nbsp;It&nbsp;is&nbsp;used&nbsp;to&nbsp;replace&nbsp;the&nbsp;slice&nbsp;text[left:right]&nbsp;with<br>
the&nbsp;string&nbsp;replacement.<br>
&nbsp;<br>
Note&nbsp;that&nbsp;the&nbsp;replacements&nbsp;do&nbsp;not&nbsp;affect&nbsp;one&nbsp;another.&nbsp;&nbsp;Indices<br>
always&nbsp;refer&nbsp;to&nbsp;the&nbsp;original&nbsp;text&nbsp;string.<br>
&nbsp;<br>
Replacements&nbsp;must&nbsp;not&nbsp;overlap.&nbsp;Otherwise&nbsp;a&nbsp;ValueError&nbsp;is<br>
raised.</tt></dd></dl>
 <dl><dt><a name="-normlist"><strong>normlist</strong></a>(jlist, StringType<font color="#909090">=&lt;type 'str'&gt;</font>)</dt><dd><tt>Return&nbsp;a&nbsp;normalized&nbsp;joinlist.<br>
&nbsp;<br>
All&nbsp;tuples&nbsp;in&nbsp;the&nbsp;joinlist&nbsp;are&nbsp;turned&nbsp;into&nbsp;real&nbsp;strings.&nbsp;&nbsp;The<br>
resulting&nbsp;list&nbsp;is&nbsp;a&nbsp;equivalent&nbsp;copy&nbsp;of&nbsp;the&nbsp;joinlist&nbsp;only<br>
consisting&nbsp;of&nbsp;strings.</tt></dd></dl>
 <dl><dt><a name="-prefix"><strong>prefix</strong></a>(...)</dt><dd><tt><a href="#-prefix">prefix</a>(text,prefixes,start=0,stop=len(text)[,translate])<br>
&nbsp;<br>
Looks&nbsp;at&nbsp;text[start:stop]&nbsp;and&nbsp;returns&nbsp;the&nbsp;first&nbsp;matching<br>
prefix&nbsp;out&nbsp;of&nbsp;the&nbsp;tuple&nbsp;of&nbsp;strings&nbsp;given&nbsp;in&nbsp;prefixes.<br>
If&nbsp;no&nbsp;prefix&nbsp;is&nbsp;found&nbsp;to&nbsp;be&nbsp;matching,&nbsp;None&nbsp;is&nbsp;returned.<br>
The&nbsp;optional&nbsp;256&nbsp;char&nbsp;translate&nbsp;string&nbsp;is&nbsp;used&nbsp;to&nbsp;translate<br>
the&nbsp;text&nbsp;prior&nbsp;to&nbsp;comparing&nbsp;it&nbsp;with&nbsp;the&nbsp;given&nbsp;suffixes.</tt></dd></dl>
 <dl><dt><a name="-print_joinlist"><strong>print_joinlist</strong></a>(joins, indent<font color="#909090">=0</font>, StringType<font color="#909090">=&lt;type 'str'&gt;</font>)</dt><dd><tt>Print&nbsp;the&nbsp;joinlist&nbsp;joins&nbsp;using&nbsp;the&nbsp;given&nbsp;indent&nbsp;level</tt></dd></dl>
 <dl><dt><a name="-print_tags"><strong>print_tags</strong></a>(text, tags, indent<font color="#909090">=0</font>)</dt><dd><tt>Print&nbsp;the&nbsp;taglist&nbsp;tags&nbsp;for&nbsp;text&nbsp;using&nbsp;the&nbsp;given&nbsp;indent&nbsp;level</tt></dd></dl>
 <dl><dt><a name="-print_tagtable"><strong>print_tagtable</strong></a>(table)</dt><dd><tt>Print&nbsp;the&nbsp;tag&nbsp;table</tt></dd></dl>
 <dl><dt><a name="-replace"><strong>replace</strong></a>(text, what, with, start<font color="#909090">=0</font>, stop<font color="#909090">=None</font>, SearchObject<font color="#909090">=&lt;built-in function TextSearch&gt;</font>, join<font color="#909090">=&lt;built-in function join&gt;</font>, joinlist<font color="#909090">=&lt;built-in function joinlist&gt;</font>, tag<font color="#909090">=&lt;built-in function tag&gt;</font>, string_replace<font color="#909090">=&lt;function replace&gt;</font>, type<font color="#909090">=&lt;type 'type'&gt;</font>, StringType<font color="#909090">=&lt;type 'str'&gt;</font>)</dt><dd><tt>A&nbsp;fast&nbsp;replacement&nbsp;for&nbsp;string.replace.<br>
&nbsp;<br>
what&nbsp;can&nbsp;be&nbsp;given&nbsp;as&nbsp;string&nbsp;or&nbsp;search&nbsp;object.<br>
&nbsp;<br>
This&nbsp;function&nbsp;is&nbsp;a&nbsp;good&nbsp;example&nbsp;for&nbsp;the&nbsp;AppendTagobj-flag&nbsp;usage<br>
(the&nbsp;taglist&nbsp;can&nbsp;be&nbsp;used&nbsp;directly&nbsp;as&nbsp;joinlist).</tt></dd></dl>
 <dl><dt><a name="-set"><strong>set</strong></a>(...)</dt><dd><tt><a href="#-set">set</a>(string,logic=1)<br>
&nbsp;<br>
Returns&nbsp;a&nbsp;character&nbsp;set&nbsp;for&nbsp;string:&nbsp;a&nbsp;bit&nbsp;encoded&nbsp;version<br>
of&nbsp;the&nbsp;characters&nbsp;occurring&nbsp;in&nbsp;string.<br>
-&nbsp;logic&nbsp;can&nbsp;be&nbsp;set&nbsp;to&nbsp;0&nbsp;if&nbsp;all&nbsp;characters&nbsp;*not*&nbsp;in&nbsp;string<br>
&nbsp;&nbsp;should&nbsp;go&nbsp;into&nbsp;the&nbsp;set</tt></dd></dl>
 <dl><dt><a name="-setfind"><strong>setfind</strong></a>(...)</dt><dd><tt><a href="#-setfind">setfind</a>(text,set,start=0,stop=len(text))<br>
&nbsp;<br>
Find&nbsp;the&nbsp;first&nbsp;occurence&nbsp;of&nbsp;any&nbsp;character&nbsp;from&nbsp;set&nbsp;in<br>
text[start:stop]<br>
&nbsp;set&nbsp;must&nbsp;be&nbsp;a&nbsp;string&nbsp;obtained&nbsp;with&nbsp;<a href="#-set">set</a>()<br>
DEPRECATED:&nbsp;use&nbsp;<a href="#-CharSet">CharSet</a>().search()&nbsp;instead.</tt></dd></dl>
 <dl><dt><a name="-setsplit"><strong>setsplit</strong></a>(...)</dt><dd><tt><a href="#-setsplit">setsplit</a>(text,set,start=0,stop=len(text))<br>
&nbsp;<br>
Split&nbsp;text[start:stop]&nbsp;into&nbsp;substrings&nbsp;using&nbsp;set,<br>
omitting&nbsp;the&nbsp;splitting&nbsp;parts&nbsp;and&nbsp;empty&nbsp;substrings.<br>
set&nbsp;must&nbsp;be&nbsp;a&nbsp;string&nbsp;obtained&nbsp;from&nbsp;<a href="#-set">set</a>()<br>
DEPRECATED:&nbsp;use&nbsp;<a href="#-CharSet">CharSet</a>().<a href="#-split">split</a>()&nbsp;instead.</tt></dd></dl>
 <dl><dt><a name="-setsplitx"><strong>setsplitx</strong></a>(...)</dt><dd><tt><a href="#-setsplitx">setsplitx</a>(text,set,start=0,stop=len(text))<br>
&nbsp;<br>
Split&nbsp;text[start:stop]&nbsp;into&nbsp;substrings&nbsp;using&nbsp;set,&nbsp;so<br>
that&nbsp;every&nbsp;second&nbsp;entry&nbsp;consists&nbsp;only&nbsp;of&nbsp;characters&nbsp;in&nbsp;set.<br>
set&nbsp;must&nbsp;be&nbsp;a&nbsp;string&nbsp;obtained&nbsp;with&nbsp;<a href="#-set">set</a>()<br>
DEPRECATED:&nbsp;use&nbsp;<a href="#-CharSet">CharSet</a>().splitx()&nbsp;instead.</tt></dd></dl>
 <dl><dt><a name="-setstrip"><strong>setstrip</strong></a>(...)</dt><dd><tt><a href="#-setstrip">setstrip</a>(text,set,start=0,stop=len(text),mode=0)<br>
&nbsp;<br>
Strip&nbsp;all&nbsp;characters&nbsp;in&nbsp;text[start:stop]&nbsp;appearing&nbsp;in&nbsp;set.<br>
mode&nbsp;indicates&nbsp;where&nbsp;to&nbsp;strip&nbsp;(&lt;0:&nbsp;left;&nbsp;=0:&nbsp;left&nbsp;and&nbsp;right;<br>
&gt;0:&nbsp;right).&nbsp;set&nbsp;must&nbsp;be&nbsp;a&nbsp;string&nbsp;obtained&nbsp;with&nbsp;<a href="#-set">set</a>()<br>
DEPRECATED:&nbsp;use&nbsp;<a href="#-CharSet">CharSet</a>().strip()&nbsp;instead.</tt></dd></dl>
 <dl><dt><a name="-split"><strong>split</strong></a>(text, sep, start<font color="#909090">=0</font>, stop<font color="#909090">=None</font>, translate<font color="#909090">=None</font>, SearchObject<font color="#909090">=&lt;built-in function TextSearch&gt;</font>)</dt><dd><tt>A&nbsp;faster&nbsp;replacement&nbsp;for&nbsp;string.<a href="#-split">split</a>().<br>
&nbsp;<br>
Uses&nbsp;a&nbsp;search&nbsp;object&nbsp;for&nbsp;the&nbsp;task.&nbsp;Returns&nbsp;the&nbsp;result&nbsp;of<br>
cutting&nbsp;the&nbsp;text[start:stop]&nbsp;string&nbsp;into&nbsp;snippets&nbsp;at&nbsp;every&nbsp;sep<br>
occurance&nbsp;in&nbsp;form&nbsp;of&nbsp;a&nbsp;list&nbsp;of&nbsp;substrings.&nbsp;translate&nbsp;is&nbsp;passed<br>
to&nbsp;the&nbsp;search&nbsp;object&nbsp;as&nbsp;translation&nbsp;string&nbsp;if&nbsp;given.<br>
&nbsp;<br>
XXX&nbsp;Undocumented.</tt></dd></dl>
 <dl><dt><a name="-splitat"><strong>splitat</strong></a>(...)</dt><dd><tt><a href="#-splitat">splitat</a>(text,char,nth=1,start=0,stop=len(text))<br>
&nbsp;<br>
Split&nbsp;text[start:stop]&nbsp;into&nbsp;two&nbsp;substrings&nbsp;at&nbsp;the&nbsp;nth<br>
occurance&nbsp;of&nbsp;char&nbsp;and&nbsp;return&nbsp;the&nbsp;result&nbsp;as&nbsp;2-tuple.&nbsp;If&nbsp;the<br>
character&nbsp;is&nbsp;not&nbsp;found,&nbsp;the&nbsp;second&nbsp;string&nbsp;is&nbsp;empty.&nbsp;nth&nbsp;may<br>
be&nbsp;negative:&nbsp;the&nbsp;search&nbsp;is&nbsp;then&nbsp;done&nbsp;from&nbsp;the&nbsp;right&nbsp;and&nbsp;the<br>
first&nbsp;string&nbsp;is&nbsp;empty&nbsp;in&nbsp;case&nbsp;the&nbsp;character&nbsp;is&nbsp;not&nbsp;found.</tt></dd></dl>
 <dl><dt><a name="-splitlines"><strong>splitlines</strong></a>(text, tag<font color="#909090">=&lt;built-in function tag&gt;</font>, linesplit_table<font color="#909090">=((None, 13, '<font color="#c040c0">\r</font>', 1), (None, 13, '<font color="#c040c0">\n</font>', 1), ('line', 2089, &lt;Character Set object for '^\r\n'&gt;, 1, -2), (None, 101, 1, 1, 1000000), ('empty line', 2150, 0, 0, -4))</font>)</dt><dd><tt>Split&nbsp;text&nbsp;into&nbsp;a&nbsp;list&nbsp;of&nbsp;single&nbsp;lines.<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;following&nbsp;combinations&nbsp;are&nbsp;considered&nbsp;to&nbsp;be&nbsp;line-ends:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'',&nbsp;'<br>
',&nbsp;'<br>
';&nbsp;they&nbsp;may&nbsp;be&nbsp;used&nbsp;in&nbsp;any&nbsp;combination.&nbsp;&nbsp;The<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;line-end&nbsp;indicators&nbsp;are&nbsp;removed&nbsp;from&nbsp;the&nbsp;strings&nbsp;prior&nbsp;to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adding&nbsp;them&nbsp;to&nbsp;the&nbsp;list.<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This&nbsp;function&nbsp;allows&nbsp;dealing&nbsp;with&nbsp;text&nbsp;files&nbsp;from&nbsp;Macs,&nbsp;PCs<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and&nbsp;Unix&nbsp;origins&nbsp;in&nbsp;a&nbsp;portable&nbsp;way.</tt></dd></dl>
 <dl><dt><a name="-splitwords"><strong>splitwords</strong></a>(text, charset<font color="#909090">=&lt;Character Set object for ' \t\x0b\r\n\x0c'&gt;</font>)</dt><dd><tt>Split&nbsp;text&nbsp;into&nbsp;a&nbsp;list&nbsp;of&nbsp;single&nbsp;words.<br>
&nbsp;<br>
Words&nbsp;are&nbsp;separated&nbsp;by&nbsp;whitespace.&nbsp;The&nbsp;whitespace&nbsp;is&nbsp;stripped<br>
before&nbsp;adding&nbsp;the&nbsp;words&nbsp;to&nbsp;the&nbsp;list.</tt></dd></dl>
 <dl><dt><a name="-str2hex"><strong>str2hex</strong></a>(...)</dt><dd><tt><a href="#-str2hex">str2hex</a>(text)<br>
&nbsp;<br>
Return&nbsp;text&nbsp;converted&nbsp;to&nbsp;a&nbsp;string&nbsp;consisting&nbsp;of&nbsp;two&nbsp;byte<br>
HEX&nbsp;values.</tt></dd></dl>
 <dl><dt><a name="-suffix"><strong>suffix</strong></a>(...)</dt><dd><tt><a href="#-suffix">suffix</a>(text,suffixes,start=0,stop=len(text)[,translate])<br>
&nbsp;<br>
Looks&nbsp;at&nbsp;text[start:stop]&nbsp;and&nbsp;returns&nbsp;the&nbsp;first&nbsp;matching<br>
suffix&nbsp;out&nbsp;of&nbsp;the&nbsp;tuple&nbsp;of&nbsp;strings&nbsp;given&nbsp;in&nbsp;suffixes.<br>
If&nbsp;no&nbsp;suffix&nbsp;is&nbsp;found&nbsp;to&nbsp;be&nbsp;matching,&nbsp;None&nbsp;is&nbsp;returned.<br>
The&nbsp;optional&nbsp;256&nbsp;char&nbsp;translate&nbsp;string&nbsp;is&nbsp;used&nbsp;to&nbsp;translate<br>
the&nbsp;text&nbsp;prior&nbsp;to&nbsp;comparing&nbsp;it&nbsp;with&nbsp;the&nbsp;given&nbsp;suffixes.</tt></dd></dl>
 <dl><dt><a name="-tag"><strong>tag</strong></a>(...)</dt><dd><tt><a href="#-tag">tag</a>(text,tagtable,sliceleft=0,sliceright=len(text),taglist=[],context=None)&nbsp;<br>
Produce&nbsp;a&nbsp;tag&nbsp;list&nbsp;for&nbsp;a&nbsp;string,&nbsp;given&nbsp;a&nbsp;tag-table<br>
-&nbsp;returns&nbsp;a&nbsp;tuple&nbsp;(success,&nbsp;taglist,&nbsp;nextindex)<br>
-&nbsp;if&nbsp;taglist&nbsp;==&nbsp;None,&nbsp;then&nbsp;no&nbsp;taglist&nbsp;is&nbsp;created</tt></dd></dl>
 <dl><dt><a name="-tagdict"><strong>tagdict</strong></a>(text, *args)</dt><dd><tt>Tag&nbsp;a&nbsp;text&nbsp;just&nbsp;like&nbsp;the&nbsp;function&nbsp;<a href="#-tag">tag</a>()&nbsp;and&nbsp;then&nbsp;convert<br>
its&nbsp;output&nbsp;into&nbsp;a&nbsp;dictionary&nbsp;where&nbsp;the&nbsp;tagobjects&nbsp;reference<br>
their&nbsp;respective&nbsp;strings<br>
&nbsp;<br>
This&nbsp;function&nbsp;emulates&nbsp;the&nbsp;interface&nbsp;of&nbsp;<a href="#-tag">tag</a>().&nbsp;&nbsp;In&nbsp;contrast&nbsp;to<br>
<a href="#-tag">tag</a>()&nbsp;this&nbsp;funtion&nbsp;*does*&nbsp;make&nbsp;copies&nbsp;of&nbsp;the&nbsp;found&nbsp;stings,<br>
though.<br>
&nbsp;<br>
Returns&nbsp;a&nbsp;tuple&nbsp;(rc,tagdict,next)&nbsp;with&nbsp;the&nbsp;same&nbsp;meaning&nbsp;of&nbsp;rc<br>
and&nbsp;next&nbsp;as&nbsp;<a href="#-tag">tag</a>();&nbsp;tagdict&nbsp;is&nbsp;the&nbsp;new&nbsp;dictionary&nbsp;or&nbsp;None&nbsp;in<br>
case&nbsp;rc&nbsp;is&nbsp;0.</tt></dd></dl>
 <dl><dt><a name="-upper"><strong>upper</strong></a>(...)</dt><dd><tt><a href="#-upper">upper</a>(text)<br>
&nbsp;<br>
Return&nbsp;text&nbsp;converted&nbsp;to&nbsp;upper&nbsp;case.</tt></dd></dl>
 <dl><dt><a name="-word_in_list"><strong>word_in_list</strong></a>(l)</dt><dd><tt>Creates&nbsp;a&nbsp;lookup&nbsp;table&nbsp;that&nbsp;matches&nbsp;the&nbsp;words&nbsp;in&nbsp;l</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>A2Z</strong> = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'<br>
<strong>A2Z_charset</strong> = &lt;Character Set object for 'A-Z'&gt;<br>
<strong>A2Z_set</strong> = '<font color="#c040c0">\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\xff\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00</font>'<br>
<strong>AllIn</strong> = 11<br>
<strong>AllInCharSet</strong> = 41<br>
<strong>AllInSet</strong> = 31<br>
<strong>AllNotIn</strong> = 12<br>
<strong>AppendMatch</strong> = 2048<br>
<strong>AppendTagobj</strong> = 1024<br>
<strong>AppendToTagobj</strong> = 512<br>
<strong>BOYERMOORE</strong> = 0<br>
<strong>Break</strong> = 0<br>
<strong>Call</strong> = 201<br>
<strong>CallArg</strong> = 202<br>
<strong>CallTag</strong> = 256<br>
<strong>EOF</strong> = 101<br>
<strong>FASTSEARCH</strong> = 1<br>
<strong>Fail</strong> = 100<br>
<strong>Here</strong> = 1<br>
<strong>Is</strong> = 13<br>
<strong>IsIn</strong> = 14<br>
<strong>IsInCharSet</strong> = 42<br>
<strong>IsInSet</strong> = 32<br>
<strong>IsNot</strong> = 15<br>
<strong>IsNotIn</strong> = 15<br>
<strong>Jump</strong> = 100<br>
<strong>JumpTarget</strong> = 104<br>
<strong>LookAhead</strong> = 4096<br>
<strong>Loop</strong> = 205<br>
<strong>LoopControl</strong> = 206<br>
<strong>MatchFail</strong> = -1000000<br>
<strong>MatchOk</strong> = 1000000<br>
<strong>Move</strong> = 103<br>
<strong>NoWord</strong> = 211<br>
<strong>Reset</strong> = -1<br>
<strong>Skip</strong> = 102<br>
<strong>SubTable</strong> = 207<br>
<strong>SubTableInList</strong> = 208<br>
<strong>TRIVIAL</strong> = 2<br>
<strong>Table</strong> = 203<br>
<strong>TableInList</strong> = 204<br>
<strong>ThisTable</strong> = 999<br>
<strong>To</strong> = 0<br>
<strong>ToBOF</strong> = 0<br>
<strong>ToEOF</strong> = -1<br>
<strong>Umlaute</strong> = '<font color="#c040c0">\xc4\xd6\xdc</font>'<br>
<strong>Umlaute_charset</strong> = &lt;Character Set object for '\xc4\xd6\xdc'&gt;<br>
<strong>Word</strong> = 21<br>
<strong>WordEnd</strong> = 23<br>
<strong>WordStart</strong> = 22<br>
<strong>_linecount_table</strong> = ((None, 13, '<font color="#c040c0">\r</font>', 1), (None, 13, '<font color="#c040c0">\n</font>', 1), ('line', 41, &lt;Character Set object for '^\r\n'&gt;, 1, -2), (None, 101, 1, 1, 1000000), ('empty line', 102, 0, 0, -4))<br>
<strong>_linesplit_table</strong> = ((None, 13, '<font color="#c040c0">\r</font>', 1), (None, 13, '<font color="#c040c0">\n</font>', 1), ('line', 2089, &lt;Character Set object for '^\r\n'&gt;, 1, -2), (None, 101, 1, 1, 1000000), ('empty line', 2150, 0, 0, -4))<br>
<strong>_wordsplit_table</strong> = ((None, 41, &lt;Character Set object for ' \t\x0b\r\n\x0c'&gt;, 1), ('word', 2089, &lt;Character Set object for '^ \t\x0b\r\n\x0c'&gt;, 1, -1), (None, 101, 1, 1, 1000000))<br>
<strong>a2z</strong> = 'abcdefghijklmnopqrstuvwxyz'<br>
<strong>a2z_charset</strong> = &lt;Character Set object for 'a-z'&gt;<br>
<strong>a2z_set</strong> = '<font color="#c040c0">\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\xff\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00</font>'<br>
<strong>alpha</strong> = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'<br>
<strong>alpha_charset</strong> = &lt;Character Set object for 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'&gt;<br>
<strong>alpha_set</strong> = '<font color="#c040c0">\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\xff\x07\xfe\xff\xff\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00</font>'<br>
<strong>alphanumeric</strong> = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'<br>
<strong>alphanumeric_charset</strong> = &lt;Character Set object for 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'&gt;<br>
<strong>alphanumeric_set</strong> = '<font color="#c040c0">\x00\x00\x00\x00\x00\x00\xff\x03\xfe\xff\xff\x07\xfe\xff\xff\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00</font>'<br>
<strong>any</strong> = '<font color="#c040c0">\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f</font> !"#$%&amp;<font color="#c040c0">\'</font>()*+,-./...<font color="#c040c0">\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff</font>'<br>
<strong>any_charset</strong> = &lt;Character Set object for '\x00-\xff'&gt;<br>
<strong>any_set</strong> = '<font color="#c040c0">\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff</font>'<br>
<strong>formfeed</strong> = '<font color="#c040c0">\x0c</font>'<br>
<strong>formfeed_charset</strong> = &lt;Character Set object for '\x0c'&gt;<br>
<strong>german_alpha</strong> = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz<font color="#c040c0">\xe4\xf6\xfc\xdf\xc4\xd6\xdc</font>'<br>
<strong>german_alpha_charset</strong> = &lt;Character Set object for 'ABCDEFGHIJKLMNOPQRSTU...hijklmnopqrstuvwxyz\xe4\xf6\xfc\xdf\xc4\xd6\xdc'&gt;<br>
<strong>german_alpha_set</strong> = '<font color="#c040c0">\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\xff\x07\xfe\xff\xff\x07\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00</font>@<font color="#c040c0">\x90\x10\x00</font>@<font color="#c040c0">\x10</font>'<br>
<strong>id2cmd</strong> = {-1000000: 'MatchFail', -1: 'ToEOF', 0: 'Fail/Jump', 1: 'Here', 11: 'AllIn', 12: 'AllNotIn', 13: 'Is', 14: 'IsIn', 15: 'IsNotIn', 21: 'Word', ...}<br>
<strong>newline</strong> = '<font color="#c040c0">\r\n</font>'<br>
<strong>newline_charset</strong> = &lt;Character Set object for '\r\n'&gt;<br>
<strong>newline_set</strong> = '<font color="#c040c0">\x00</font>$<font color="#c040c0">\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00</font>'<br>
<strong>nonwhitespace_charset</strong> = &lt;Character Set object for '^ \t\x0b\r\n\x0c'&gt;<br>
<strong>nonwhitespace_set</strong> = '<font color="#c040c0">\xff\xc1\xff\xff\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff</font>'<br>
<strong>number</strong> = '0123456789'<br>
<strong>number_charset</strong> = &lt;Character Set object for '0-9'&gt;<br>
<strong>number_set</strong> = '<font color="#c040c0">\x00\x00\x00\x00\x00\x00\xff\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00</font>'<br>
<strong>sFindWord</strong> = 213<br>
<strong>sWordEnd</strong> = 212<br>
<strong>sWordStart</strong> = 211<br>
<strong>tagtable_cache</strong> = {(46912536021760, 0): &lt;String Tag Table object&gt;, (46912540134840, 0): &lt;String Tag Table object&gt;, (46912541410080, 0): &lt;String Tag Table object&gt;, (46912541454848, 0): &lt;String Tag Table object&gt;, (46912541455136, 0): &lt;String Tag Table object&gt;, (46912541455208, 0): &lt;String Tag Table object&gt;, (46912541489264, 0): &lt;String Tag Table object&gt;, (46912541566016, 0): &lt;String Tag Table object&gt;, (46912543903688, 0): &lt;String Tag Table object&gt;, (46912543908136, 0): &lt;String Tag Table object&gt;, ...}<br>
<strong>to_lower</strong> = '<font color="#c040c0">\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f</font> !"#$%&amp;<font color="#c040c0">\'</font>()*+,-./...<font color="#c040c0">\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff</font>'<br>
<strong>to_upper</strong> = '<font color="#c040c0">\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f</font> !"#$%&amp;<font color="#c040c0">\'</font>()*+,-./...<font color="#c040c0">\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff</font>'<br>
<strong>umlaute</strong> = '<font color="#c040c0">\xe4\xf6\xfc\xdf</font>'<br>
<strong>umlaute_charset</strong> = &lt;Character Set object for '\xe4\xf6\xfc\xdf'&gt;<br>
<strong>white</strong> = ' <font color="#c040c0">\t\x0b</font>'<br>
<strong>white_charset</strong> = &lt;Character Set object for ' \t\x0b'&gt;<br>
<strong>white_set</strong> = '<font color="#c040c0">\x00\x02\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00</font>'<br>
<strong>whitespace</strong> = ' <font color="#c040c0">\t\x0b\r\n\x0c</font>'<br>
<strong>whitespace_charset</strong> = &lt;Character Set object for ' \t\x0b\r\n\x0c'&gt;<br>
<strong>whitespace_set</strong> = '<font color="#c040c0">\x00</font>&amp;<font color="#c040c0">\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00</font>'</td></tr></table>
</body></html>